package com.reggie.service;

import com.reggie.dto.GoodsSalesDTO;

import java.time.LocalDateTime;
import java.util.List;

public interface ReportService {


    //根据时间区间统计营业额
    Double getTurnover(LocalDateTime beginTime,LocalDateTime endTime);

    Integer getUserCount(LocalDateTime beginTime, LocalDateTime endTime);

    Integer getOrderCount(LocalDateTime beginTime, LocalDateTime endTime, Integer sattus);

    List<GoodsSalesDTO> getSalesTop10(LocalDateTime beginTime, LocalDateTime endTime);
}
